import * as types from './mutation-types'

const mutations = {
    [types.SET_USERINFO](state, userInfo) {
        state.userInfo = userInfo
    },

    //设置菜单
    setMenuData(state, menuData) {
        state.menuData = menuData
    },
    setRouterData(state, routerData) {
        state.routerData = routerData
    },
}


export default mutations
